package one.stand.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Administrator
 */
@RequestMapping("userApi")
@RestController
@Slf4j
public class IndexController {

    @GetMapping("index")
    @ResponseBody
    public String index() {
        log.info("index hello");
        return "hello";
    }
}
